package com.yc.navy.vote.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.yc.navy.vote.Mapper.ITopicItemMapper;

import com.yc.navy.vote.service.ITopicItemService;

@Service
public class ITopicItemServiceImpl implements ITopicItemService {
	@Autowired
	private ITopicItemMapper topicItemMapper;
	@Override
	public int update(String[] inos) {
		if(inos == null || inos.length <=0) {
			return -1;
		}
		
		return topicItemMapper.update(inos);
	}
	
}
